#ifndef RTE_KB1277_REMOTE_H
#define RTE_KB1277_REMOTE_H
#ifdef __cplusplus
extern "C" {
#endif

typedef unsigned char u8;
typedef short int16_t;
typedef struct {
    int (*get_var_bool)(int index, u8 len);

    int (*get_var_int)(int index, short *value, u16 len);

    int (*get_var_float)(int index, float *value, u16 len);

    int (*set_var_bool)(int index, u8 value);

    int (*set_var_int)(int index, int value);

    int (*set_var_float)(int index, float value);
} remote_abi;

extern const remote_abi remote;
#ifdef __cplusplus
};
#endif
#endif //RTE_KB1277_REMOTE_H
